﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LoomDataEmulator.Core;
using System.IO;

namespace LoomDataEmulator.TestSuite.TestHelpers
{
    class MockInputProcessor: IInputProcessor
    {
        private List<ProcessInputCall> _processInputCall;

        public List<ProcessInputCall> Calls
        {
            get { return _processInputCall; }
            set { _processInputCall = value; }
        }

        public MockInputProcessor()
        {
            _processInputCall = new List<ProcessInputCall>();
        }

        #region IInputProcessor Members

        public void ProcessInput(object sender, EventArgs e)
        {
            _processInputCall.Add(new ProcessInputCall() {Sender = sender, Args = e});
        }

        public void ProcessInput()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
